package com.yunyao.framework.dto.supplier;

import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.List;

/**
 * @author xingjishuai
 * @date 2024-07-29
 */
@Data
public class SupplierSettlementSaveDto implements Serializable {
    private static final long serialVersionUID = -6735320550836641812L;
    /**
     * 主键ID
     */
    private String id;

    private String orderNo;
    private String orderId;


    /**
     * 历史结算金额
     */
    private BigDecimal historySettlementAmount;

    /**
     * 对账周期开始时间
     */
    private String reconciliationStartDate;

    /**
     * 对账周期结束时间
     */
    private String reconciliationEndDate;

    /**
     * 结算时间
     */
    private String settlementDate;

    /**
     * 销售合同ID
     */
    private String contractId;

    /**
     * 销售合同编号
     */
    private String contractNo;

    /**
     * 合同名称
     */
    private String contractName;

    /**
     * 采购单位ID
     */
    private String purchaseDeptId;

    /**
     * 采购单位名称
     */
    private String purchaseDeptName;

    /**
     * 项目ID
     */
    private String projectId;

    /**
     * 项目名称
     */
    private String projectName;

    /**
     * 供货单位ID
     */
    private String supplyDeptId;

    /**
     * 供货单位名称
     */
    private String supplyDeptName;

    /**
     * 供应商ID
     */
    private String supplierDeptId;

    /**
     * 供应商名称
     */
    private String supplierDeptName;

    /**
     * 供货订单数量
     */
    private Integer supplyNum;

    /**
     * 供货订单含税总价
     */
    private BigDecimal supplyIncludingTaxTotalPrice;

    /**
     * 备注
     */
    private String mark;

    /**
     * 回款金额
     */
    private BigDecimal contractBackPrice;


    /**
     * 合同方式0电线电缆及光纤光缆 1 电梯及扶梯
     */
    private String contractMethod;

    /**
     * 合同返利点
     */
    private BigDecimal contractRebatePoints;

    /**
     * 合同返利金额
     */
    private BigDecimal contractRebatePrice;

    /**
     * 对账单数量
     */
    private Integer settlementNum;

    /**
     * 项目所属部门ID
     */
    private String projectDeptId;

    /**
     * 项目所属部门名称
     */
    private String projectDeptName;


    /**
     * 对账单id
     */
    private List<String> reconciliationIdList;

    private String paymentNode;
    private String paidRatio;
    private String thisPaidRatio;

//    private List<String> payNodeIdList;

    private List<SupplierSettlementPayNodeSaveDto> payNodeIdList;

}
